<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <style>
        /* 全局样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
        }

        /* 容器样式 */
        .container {
            width: 100%;
            max-width: 400px;
            margin: 50px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        /* 标题样式 */
        .title {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .title a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            font-weight: bold;
        }

        .title a.active {
            color: #00b42a;
            border-bottom: 2px solid #00b42a;
            padding-bottom: 5px;
        }

        /* 提示文字样式 */
        .hint {
            font-size: 14px;
            color: #999;
            margin-bottom: 20px;
        }

        /* 表单样式 */
        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            color: #333;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }

        .form-group input::placeholder {
            color: #ccc;
        }

        /* 忘记密码链接样式 */
        .forgot-password {
            text-align: right;
            margin-top: -10px;
            margin-bottom: 20px;
        }

        .forgot-password a {
            text-decoration: none;
            color: #999;
            font-size: 14px;
        }

        /* 登录按钮样式 */
        .login-btn {
            width: 100%;
            padding: 10px;
            background-color: #00b42a;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
        }

        .login-btn:hover {
            background-color: #00a628;
        }

        /* 立即注册链接样式 */
        .register-link {
            text-align: center;
            margin-top: 20px;
        }

        .register-link a {
            text-decoration: none;
            color: #999;
            font-size: 14px;
        }

        /* 协议勾选样式 */
        .agreement {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 20px;
        }

        .agreement input {
            margin-right: 5px;
        }

        .agreement label {
            font-size: 14px;
            color: #999;
        }

        .agreement a {
            text-decoration: none;
            color: #00b42a;
        }
    </style>
</head>
<body>
<div class="container">
    <!-- 标题部分 -->
    <div class="title">
        <a href="#" class="active">账号登录</a>
        <a href="#">短信登录</a>
    </div>

    <!-- 提示文字 -->
    <div class="hint">
        如果未设置过密码，请点击忘记密码
    </div>

    <!-- 账号输入框 -->
    <div class="form-group">
        <label for="account">账号</label>
        <input type="text" id="account" placeholder="请输入账号">
    </div>

    <!-- 忘记密码链接 -->
    <div class="forgot-password">
        <a href="#">忘记密码</a>
    </div>

    <!-- 密码输入框 -->
    <div class="form-group">
        <label for="password">密码</label>
        <input type="password" id="password" placeholder="请输入密码">
    </div>

    <!-- 登录按钮 -->
    <button class="login-btn">登录</button>

    <!-- 立即注册链接 -->
    <div class="register-link">
        <a href="#">立即注册</a>
    </div>

    <!-- 协议勾选 -->
    <div class="agreement">
        <input type="checkbox" id="agreement" checked>
        <label for="agreement">我已阅读并遵守《用户协议》与《隐私协议》</label>
    </div>
</div>
</body>
</html>